package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("cmfz_album")
public class CmfzAlbum implements Serializable {
    /*CREATE TABLE `cmfz_album` (
  `album_id` int(100) NOT NULL AUTO_INCREMENT,
  `album_name` varchar(100) DEFAULT NULL,
  `album_author` varchar(100) DEFAULT NULL,
  `album_teller` varchar(100) DEFAULT NULL,
  `album_Episodes` int(11) DEFAULT NULL,
  `album_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `album_content` varchar(1000) DEFAULT NULL,
  `album_image` varchar(100) DEFAULT NULL,
  `album_star` int(11) DEFAULT NULL,
  PRIMARY KEY (`album_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;*/
    @TableId(value = "album_id",type = IdType.AUTO)
    private Integer albumId;
    private String albumName;
    private String albumAuthor;
    private String albumTeller;
    private Integer albumEpisodes;
    private Date albumDate;
    private String albumContent;
    private String albumImage;
    private Integer albumStar;
}
